home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Stuff / 3D_Reality / 3D_Reality_API / Examples / PatchMesh.bproj / PatchMesh.h < prev    next >
Encoding:
Text File  |  1992-09-17  |  873 b   |  31 lines

  1.  
  2.  
  3. @class List;
  4.  
  5. @interface PatchMesh : Shape 
  6. {
  7.     id         controlPts;    // List of control point objects
  8.     RtPoint    *thePoints;    // The current set of float points
  9.     int        nu;        // Size of mesh in u direction
  10.     int        nv;        // Size of mesh in v direction
  11.     int      uBasis;        // The basis matrix in u parameter space
  12.     RtBasis    theUBasis;    // The actual basis matrix
  13.     int      vBasis;        // The basis matrix in v parameter space
  14.     RtBasis    theVBasis;    // The actual basis matrix
  15.     BOOL     showCtlPoints;    // Show control points?
  16.     BOOL    showHull;    // Show control hull?
  17.     int      uStep;         // Step values for evaluation window
  18.     int      vStep;         // Step values for evaluation window
  19. }
  20.  
  21. - init;
  22. - (BOOL) hullVisible;
  23. - setHullVisible:(BOOL) flag;
  24. - (BOOL)controlVisible;
  25. - setControlVisible:(BOOL)flag;
  26. - (int)uBasis;
  27. - setUBasis:(int)theU;
  28. - (int)vBasis;
  29. - setVBasis:(int)theV;
  30.  
  31. @end